﻿namespace Specifications.Testability
{
    using Extensions;
    using NUnit.Framework;
    using Sample;

    [TestFixture]
    public class When_testing_change_notification_against_a_single_property
    {
        [Test]
        public void the_assertion_will_pass_if_notification_is_correct()
        {
            var sut = new NotificationOnAllProperties();

            sut.AssertThatProperty(() => sut.String)
                .RaisesChangeNotification();
        }
    }
}